import request from "./request";

export const parkingLotsList = (data) => {
  return request.post("/parkingLots/list", data);
};

export const parkingLotsAdd = (data) => {
  return request.post("/parkingLots/add", data);
};

export const parkingLotsUpdate = (data) => {
  return request.post("/parkingLots/update", data);
};

export const parkingLotsDelete = (data) => {
  return request.post("/parkingLots/del", data);
};

export const parkingLotsDetail = (data) => {
  return request.post("/parkingLots/detail", data);
};

export const parkingLotsDelRecover = (data) => {
  return request.post("/parkingLots/del_recover", data);
};

export const parkingLotsDelSuccess = (data) => {
  return request.post("/parkingLots/del_success", data);
};

export const parkingLotsExport = (data) => {
  return request.post("/parkingLots/export", data);
};

export const parkingLotsStatistics = (data) => {
  return request.post("/parkingLots/statistics", data);
};

// 导入
export const parkingLotsImport = (data) => {
  return request.post("/parkingLots/import", data);
};
